Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #60, rework loop in CF_CFDP_CycleTx #165

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Modifies the loop inside this function to be more conventional, and easier to follow. Does not change the logic.

Fixes #60

Testing performed
Build and sanity check CF, run all tests

Expected behavior changes
None, this does not change loop logic

System(s) tested on
Ubuntu 21.10

Additional context
Do not use "goto" to jump inside the middle of a loop, just use while(true) and break out when the stop condition was reached.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Modifies the loop inside this function to be more conventional, and
easier to follow. Does not change the logic.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 12, 2022
@astrogeco astrogeco merged commit d3ae3f9 into nasa:main Jan 12, 2022
@jphickey jphickey deleted the fix-60-cycletx-loop branch January 13, 2022 01:06
@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 19, 2022
@astrogeco
Copy link
Contributor

CCB:2022-01-19 APPROVED

  • Removes "goto" statement
  • "Unrolls" the loop

@skliper skliper added this to the Draco milestone Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CF has strange loop construct in CF_CFDP_CycleTx
3 participants